﻿using System;
using System.Runtime.InteropServices;

namespace Vtron.HipcConfigurationTools.Domain
{
    /// <summary>
    /// 获取信号源分辨率的应答
    /// </summary>
    /// <remarks>
    /// typedef  struct
    /// {
    ///     T_HIPC_NET_HEADER	   head;
    ///     Uint8               channel;
    ///     Uint16             width;
    ///     Uint16             height;
    /// }T_HIPC_SIGNAL_RESOLUTION_RESP;
    /// </remarks>
    [Serializable]
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct T_HIPC_SIGNAL_RESOLUTION_RESP
    {
        #region Fields

        /// <summary>
        /// 网络协议数据头
        /// </summary>
        public T_HIPC_NET_HEADER head;

        /// <summary>
        /// 通道号
        /// </summary>
        public byte channel;

        /// <summary>
        /// 宽
        /// </summary>
        public UInt16 width;

        /// <summary>
        /// 高
        /// </summary>
        public UInt16 height;

        #endregion
    }
}
